<%@ include file="/WEB-INF/views/taglib.jsp" %>

<h3>Log Search</h3>	
 <div class="clear"></div>
 <fieldset>
 	<legend>Log Search</legend>
 <table class="gridSearch">
 <thead>	
 	<tr>
 		<th>S/N</th>
 		<th>
 		<label>File name</label>
 		</th>
 		<th>
 		<label>Absolute Path</label>
 		</th>
 		<th>
 		<label>Action</label>
 		</th>
 	</tr>
 </thead>
 <tbody>
 	
 	<c:forEach items="${fileList}" var="result" varStatus="status">
 	<tr <c:if test="${(status.count%2)==0 }">class="alt"</c:if>>
 	 
 		<td class="seqNo">${searchResult.recordNo+status.index}</td>
 		<td>${result.name}</td>
 		<td>${result.absolutePath}</td>
 		<td>
 		<c:url value="/log/detail?filename=${result.name}" var="logView"></c:url>
 		<a href="${logView}" class="CD_actions">
 		<img align="absmiddle" src="${imageUrl}/icon_detail.png">View Detail</a> 
 		</td>
 		</tr>
 	</c:forEach>
 	
 </tbody>
 
 </table>
 
 
	<script type="text/javascript">
		$(document).ready(function() {

		});
		
	</script>